Skip to content

[Feature][Java] Add OpenAI Responses API integration#556

Open
addu390 wants to merge 3 commits intoapache:mainfrom
addu390:feature/openai-response-api
Open

[Feature][Java] Add OpenAI Responses API integration#556
addu390 wants to merge 3 commits intoapache:mainfrom
addu390:feature/openai-response-api

Conversation

@addu390
Copy link

@addu390 addu390 commented Feb 28, 2026

Linked issue: #132

Purpose of change

Adds support for OpenAI's Responses API as a new chat model integration alongside the existing Chat Completions integration.

The Responses API is OpenAI's recommended API. This initial implementation covers just the core functionality, similar to the existing Chat Completions integration.

The Setup class shares several parameters with OpenAIChatModelSetup. A shared base class could reduce duplication, happy to refactor in a follow-up if that's preferred.

Tests

Verified via the existing ChatModelIntegrationTest e2e integration test with a new OPENAI_RESPONSES parameterized variant. All tests pass.

API

Yes, adds two new public classes (OpenAIResponseModelConnection, OpenAIResponseModelSetup) and two new resource name constants. No changes to existing public APIs (intentionally left it as-is).

Documentation

  • doc-needed
  • doc-not-needed
  • doc-included

@github-actions github-actions bot added priority/major Default priority of the PR or issue. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. doc-needed Your PR changes impact docs. labels Feb 28, 2026
@addu390 addu390 changed the title Add OpenAI Responses API integration [Java] [Feature][Java] Add OpenAI Responses API integration Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-needed Your PR changes impact docs. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant